package com.xfcycle.zebrabikegp.constant;

/**
 * 自定义定时器 相关常量
 *
 * Created by xFcycle on 2017/6/5.
 */

public class AlarmConstant {

    //当前广播的目标行为 标识
    public static final String INTENT_TAG_KEY = "tag";

    //定时器查询自行车电量的广播 频段
    public static final String QUERY_BIKE_ELECTRICITY_BROADCAST_RECEIVER_ACTION = "com.xfcycle.alarmManagerToGetBikeElectricity";

    //标识内容为定时查询自行车电量
    public static final String QUERY_BIKE_ELECTRICITY_INTENT_TAG_VALUE ="queryBikeElectricity";

    //定时查询自行车电量的间隔时间
    public static final int QUERY_BIKE_ELECTRICITY_INTERVAL_TIME = 2000;

    //不报警 正常
    public static final String ALARM_TYPE_NORMAL = "0";
    //报警类型 丢失
    public static final String ALARM_TYPE_STOLEN = "1";
    //报警类型 低电量
    public static final String ALARM_TYPE_LOW_POWER = "2";
    //报警类型 主电源断电
    public static final String ALARM_TYPE_MAIN_POWER_OFF = "3";
    //报警类型 未挂载485主线
    public static final String ALARM_TYPE_UMOUNT_485 = "4";
}
